package com.xiaogao.sys.response;

import com.xiaogao.common.entity.BaseResponse;
import com.xiaogao.common.utils.tree.TreeNode;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.lang.String;
import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class SysPermResponse extends BaseResponse implements TreeNode<SysPermResponse> {
    private String id;
    private String parentId;
    private String name;
    private String type;
    private String perm;
    private String icon;
    private Integer sort;

    private List<SysPermResponse> children = new ArrayList<>();
}
